
require 'simple_auth_client'

client = SimpleAuthClient.new('localhost', 11010)

puts sprintf("authenticated? %s", client.authenticate('test_user', 'test_pass'))

puts sprintf("authorized? %s", client.authorize('test_service', 'test_user', 'test_role'))
